<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
<base th:href="@{/}">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<title>放款信息</title>
<th:block th:include ="commHeaderInclude::commHead"></th:block>
<th:block th:include ="commHeaderInclude::formPageComm"></th:block>
<th:block th:include ="commHeaderInclude::listPageComm"></th:block>
</head>

<body class="ht">
<th:block th:include="commHeaderInclude::loading"></th:block>
	<div class="tabTitle"><span><i class="mdi mdi-menu-up"></i>放款信息</span></div>
	<div class="content-wrapper">
		<div class="breadCrumb">
			<i class="mdi mdi-map-marker"></i>
			<span><span th:text="${session.mcpName}"></span><i class="mdi mdi-chevron-double-right"></i>融资服务<i class="mdi mdi-chevron-double-right"></i>放款信息</span>
		</div>
		<form name="searchForm" id="searchForm" method="post">
			<div class="card mb-3">
				<div class="card-body">
					<h4 class="card-title"><span>按条件查询放款信息</span></h4>
					<div class="module searchModule" th:object="${vo.dto}">
						<ul class="mb-3">
							<li>
								<label>中征放款流水编号</label>
								<div><input type="text" th:value="*{@util.fStr(loanCode)}"  name="loanCode" placeholder="输入编号" /></div>
							</li>
							<li>
								<label>资金方</label>
								<div><input type="text" th:value="*{@util.fStr(bankOrgName)}" name="bankOrgName" placeholder="输入机构名称" /></div>
							</li>
							<li>
								<label>中征融资申请编号</label>
								<div><input type="text" th:value="*{@util.fStr(financeNo)}"  name="financeNo" placeholder="输入编号" /></div>
							</li>
							<li>
								<label>普惠业务</label>
								<select name="puhuiFlag" id="puhuiFlag">
									<option th:value="*{puhuiFlag}" selected role="OptionSelected"></option>
                                    <option value="">全部</option>
                                    <option value="1">是</option>
									<option value="2">否</option>
								</select>
							</li>
							<li>
								<label>放款时间</label>
								<div><input class="ht-dateInput" type="date" name="loanStartTimeStart" th:value="*{loanStartTimeStart}" placeholder="开始日期" data-options="endSelector:'[name=loanStartTimeEnd]'" /></div>
								<span class="ht_dateText d-inlineBlock">至</span>
								<div><input class="ht-dateInput" type="date" name="loanStartTimeEnd" th:value="*{loanStartTimeEnd}" placeholder="结束日期" data-options="startSelector:'[name=loanStartTimeStart]'"/></div>
							</li>
							<li>
								<label>到期时间</label>
								<div><input class="ht-dateInput" type="date" name="loanEndTimeStart" th:value="*{loanEndTimeStart}" placeholder="开始日期" data-options="endSelector:'[name=loanEndTimeEnd]'" /></div>
								<span class="ht_dateText d-inlineBlock">至</span>
								<div><input class="ht-dateInput" type="date" name="loanEndTimeEnd" th:value="*{loanEndTimeEnd}" placeholder="结束日期" data-options="startSelector:'[name=loanEndTimeStart]'"/></div>
							</li>
						</ul>
						<div class="searchBtnContainer">
							<input class="btn btn-primary" type="submit" id="search" value="查询">
							<input class="btn btn-clear" type="clear" role="ClearButton" value="清空">
						</div>
					</div>
				</div>
			</div>
		</form>
		<form nam="listForm" id="listForm" method="post">
			<div class="card mb-3">
				<div class="card-body">
					<h4 class="card-title">放款信息列表</h4>
					<div class="module">
						<div class="hTableContainer">
						<table cellpadding="0" cellspacing="0" class="hTable" style="min-width:1800px;">
							<thead>
								<tr>
									<th>序号</th>
									<th>中征放款流水编号</th>
									<th>中征融资申请编号</th>
									<th>资金方</th>
									<th>医保统筹区</th>
									<th style="width: 150px;">授信合同名称</th>
									<th style="width: 150px;">授信合同编号</th>
									<th>授信币种</th>
									<th>授信金额</th>
									<th style="width: 80px">放款时间</th>
									<th>放款金额</th>
									<th>利率</th>
									<th style="width: 80px">到期时间</th>
									<th>普惠<br/>业务</th>
								</tr>
							</thead>
							<tbody>
								<tr th:each="li,item:${vo.page.list}">
									<td th:text="${item.index+vo.page.startRow}">1</td>
									<td><a th:href="@{'/base/bargain/detail?id='+${li.id}+'&aid='+${li.aid}}" class="textLink-primary" role="openFrameWindow" th:text="${li.loanCode}">MI1235456423</a></td>
									<td><a th:href="@{'/base/finance/detail?id='+${li.financeId}+'&aid='+${li.financeAid}}" class="textLink-primary" role="openFrameWindow" th:text="${li.financeNo}">MI1235456</a></td>
									<td class="orgName"><a class="textLink-primary" role="openFrameWindow" th:href="@{'base/bank/detail?id='+${li.bankOrgId}}" th:text="${@util.fStr(li.bankOrgName)}">同仁堂大药房</a></td>
									<td th:text="${li.areaName}">医保统筹区</td>
									<td th:text="${@util.fStr(li.contractName)}" style="max-width: 150px;">授信合同名称</td>
									<td th:text="${@util.fStr(li.contractCode)}" style="max-width: 150px;">授信合同编号</td>
									<td>人民币元</td>
									<td th:text="${@util.fAmt(li.contractAmount)}">1000,000</td>
									<td th:text="${@util.fDate(li.loanStartTime)}">2022-07-08</td>
									<td th:text="${@util.fAmt(li.loanAmount)}">900,000</td>
									<td th:text="${li.loanRate!=null ? li.loanRate+'%/年' : ''}">利息</td>
									<td th:text="${@util.fDate(li.loanEndTime)}">2022-07-08</td>
									<td th:text="${application.DictMap.PHYWType[li.puhuiFlag]}">是</td>
								</tr>
							</tbody>
						</table>
							<div class="noneRecord" th:if="${vo.page.total==0}" style="min-width:1800px;">查无记录！</div>
						</div>

						<th:block th:include="commHeaderInclude::pageInfoComm"></th:block>
					</div>
				</div>
			</div>
		</form>
	</div>
</body>
<script>
    var page=new ListPage();
    page.init();
	//seajs.use("/mcp/bank/bargainBill/js/list");
</script>
</html>